package com.xncoding.pos.email;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.HashMap;

/**
 *  Email
 * @Description  Email
 * @Author guoyb
 * @Date   2020/5/11 12:19
 */
@Getter
@Setter
public class Email implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 接收方邮件
     */
    private String[] email;
    /**
     * 主题
     */
    private String subject;
    /**
     * 邮件内容
     */
    private String content;
    /**
     * 模板名称
     */
    private String template;
    /**
     * 模版的自定义参数
     */
    private HashMap<String, Object> kvMap;


    public Email() {
        super();
    }

    public Email(String[] email, String subject, String content, String template,
                 HashMap<String, Object> kvMap) {
        super();
        this.email = email;
        this.subject = subject;
        this.content = content;
        this.template = template;
        this.kvMap = kvMap;
    }


}
